16 #ifndef SURGSIM_TESTING_SERIALIZATIONMOCKCOMPONENT_H
17 #define SURGSIM_TESTING_SERIALIZATIONMOCKCOMPONENT_H
51 #endif // SURGSIM_TESTING_SERIALIZATIONMOCKCOMPONENT_H
void setSucceedWithInit(bool val)
Definition: SerializationMockComponent.cpp:58
SerializationMockComponent(const std::string &name, bool succeedInit=true, bool succeedWakeUp=true)
Definition: SerializationMockComponent.cpp:20
bool didInit
Definition: SerializationMockComponent.h:48
bool didWakeUp
Definition: SerializationMockComponent.h:47
bool succeedWithInit
Definition: SerializationMockComponent.h:45
SURGSIM_STATIC_REGISTRATION(SerializationMockComponent)
virtual bool doWakeUp()
Interface to be implemented by derived classes.
Definition: SerializationMockComponent.cpp:47
Component is the main interface class to pass information to the system managers each will decide whe...
Definition: Component.h:43
bool getSucceedWithInit() const
Definition: SerializationMockComponent.cpp:53
bool getSucceedWithWakeUp() const
Definition: SerializationMockComponent.cpp:63
void setSucceedWithWakeUp(bool val)
Definition: SerializationMockComponent.cpp:68
This class is for testing the linker and checking if the definition stays in the executable even if t...
Definition: SerializationMockComponent.h:27
virtual ~SerializationMockComponent()
Definition: SerializationMockComponent.cpp:36
virtual bool doInitialize()
Interface to be implemented by derived classes.
Definition: SerializationMockComponent.cpp:41
bool succeedWithWakeUp
Definition: SerializationMockComponent.h:46
SURGSIM_CLASSNAME(SerializationMockComponent)