cisst-saw
Loading...
Searching...
No Matches
mtsCallableQualifiedReadBase.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4/*
5
6 Author(s): Anton Deguet
7 Created on: 2010-10-05
8
9 (C) Copyright 2010 Johns Hopkins University (JHU), All Rights
10 Reserved.
11
12--- begin cisst license - do not edit ---
13
14This software is provided "as is" under an open source license, with
15no warranty. The complete license can be found in license.txt and
16http://www.cisst.org/cisst/license.txt.
17
18--- end cisst license ---
19*/
20
21
26
27#ifndef _mtsCallableQualifiedReadBase_h
28#define _mtsCallableQualifiedReadBase_h
29
31
41{
42public:
43
46
49
53 mtsGenericObject & result) = 0;
54
56 virtual void ToStream(std::ostream & outputStream) const = 0;
57};
58
62inline std::ostream & operator << (std::ostream & outputStream,
63 const mtsCallableQualifiedReadBase & callable) {
64 callable.ToStream(outputStream);
65 return outputStream;
66}
67
68#endif // _mtsCallableQualifiedReadBase_h
Definition mtsCallableQualifiedReadBase.h:41
virtual ~mtsCallableQualifiedReadBase()
Definition mtsCallableQualifiedReadBase.h:48
mtsCallableQualifiedReadBase(void)
Definition mtsCallableQualifiedReadBase.h:45
virtual mtsExecutionResult Execute(const mtsGenericObject &argument, mtsGenericObject &result)=0
virtual void ToStream(std::ostream &outputStream) const =0
Definition mtsExecutionResult.h:34
Base class for data object in cisstMultiTask.
Definition mtsGenericObject.h:52
std::ostream & operator<<(std::ostream &outputStream, const mtsCallableQualifiedReadBase &callable)
Definition mtsCallableQualifiedReadBase.h:62