gdcmULAction.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef GDCMULACTION_H
#define GDCMULACTION_H
#include "gdcmNetworkStateID.h"
#include "gdcmULEvent.h"
#include "gdcmULConnection.h"
namespace gdcm {
class Subject;
namespace network {
class ULAction {
protected:
public:
ULAction() = default;
//make sure destructors are virtual to avoid memory leaks
virtual ~ULAction() = default;
//cannot copy a ULAction
ULAction(const ULAction& inAction) = delete;
void operator=(const ULAction&) = delete;
virtual EStateID PerformAction(Subject *s, ULEvent& inEvent, ULConnection& inConnection,
bool& outWaitingForEvent, EEventID& outRaisedEvent) = 0;
};
}
}
#endif // GDCMULACTION_H
gdcm::Subject
Subject.
Definition gdcmSubject.h:29
gdcm::network::ULAction::~ULAction
virtual ~ULAction()=default
gdcm::network::ULAction::operator=
void operator=(const ULAction &)=delete
gdcm::network::ULAction::PerformAction
virtual EStateID PerformAction(Subject *s, ULEvent &inEvent, ULConnection &inConnection, bool &outWaitingForEvent, EEventID &outRaisedEvent)=0
gdcm::network::ULAction::ULAction
ULAction()=default
gdcm::network::ULAction::ULAction
ULAction(const ULAction &inAction)=delete
gdcm::network::ULConnection
ULConnection.
Definition gdcmULConnection.h:58
gdcm::network::ULEvent
ULEvent.
Definition gdcmULEvent.h:37
gdcmNetworkStateID.h
gdcmULConnection.h
gdcmULEvent.h
gdcm::network
Definition gdcmAAbortPDU.h:24
gdcm::network::EStateID
EStateID
Definition gdcmNetworkStateID.h:32
gdcm::network::EEventID
EEventID
Definition gdcmNetworkEvents.h:33
gdcm
Definition gdcmASN1.h:21